using System;
using System.Collections.Generic;
using System.Text;

namespace LastFMPPC
{
	class LastException : Exception
	{
		private string text = string.Empty;

		/// <summary>
		/// Constructor.
		/// </summary>
		public LastException()
		{
		}

		/// <summary>
		/// Constructor.
		/// </summary>
		/// <param name="text">Exception text.</param>
		public LastException(string text)
		{
			this.text = text;
		}

		/// <summary>
		/// Gets the exception text.
		/// </summary>
		public string Text
		{
			get { return text; }
		}
	}
}
